# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=bettercap-ui
pkgver=1.3.0
pkgrel=1
pkgdesc="Official Bettercap's Web UI."
groups=('blackarch' 'blackarch-misc')
arch=('any')
url='https://github.com/bettercap/ui'
license=('GPL3')
source=("https://github.com/bettercap/ui/releases/download/v$pkgver/ui.zip")
sha512sums=('c1b61c3b2c0fbbc3a2328fef96608a128b2af3d8f2f947b56c12a2644c6b4dce022f95d2bb68144a3ff65c9c49460ca29ba443886d5e46ed492b4fe37b8c539d')

package() {
	install -dm 755 "$pkgdir/usr/share/bettercap"

	cp -aR ui "$pkgdir/usr/share/bettercap/ui"
}

